projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d55355
)
widget-factory: Add a missing style class
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 Aug 2014 13:16:09 +0000
(09:16 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 Aug 2014 13:18:08 +0000
(09:18 -0400)
Unfortunately, constructing image-only buttons by just adding
the image as a child does not give us the image-button style
class. Add it manually.
demos/widget-factory/widget-factory.ui
patch
|
blob
|
history
diff --git
a/demos/widget-factory/widget-factory.ui
b/demos/widget-factory/widget-factory.ui
index f25e967ec1cb7f4d09f571f473545fec7c361a9e..4c3b306d3b248495786fce1958323f5f741cf629 100644
(file)
--- a/
demos/widget-factory/widget-factory.ui
+++ b/
demos/widget-factory/widget-factory.ui
@@
-1998,6
+1998,9
@@
Suspendisse feugiat quam quis dolor accumsan cursus. </property>
<property name="visible">True</property>
<property name="focus-on-click">False</property>
<property name="relief">none</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
<object class="GtkImage" id="page2dismissi">
<property name="visible">True</property>